#!/bin/bash
rm -rf classes target
mkdir classes
mkdir target

CP="classes:$(lein classpath)"

# find src/java -name "*.java" | xargs javac -g -cp "$CP" -d classes -sourcepath src/java/

# lein javac

./scripts/javac with-test

java -cp "$CP" \
    -Xdebug -Xrunjdwp:transport=dt_socket,address=9092,server=y,suspend=n \
    clojure.main -m org.httpkit.client-test
